import { request } from '@/utils/request';

const prefix = '/api/console/rolemenu';
export default {
  add: (data: any) => request.post({ url: `${prefix}/add`, data }),
  update: (data: any) => request.post({ url: `${prefix}/update`, data }),
  detail: (data: any) => request.get({ url: `${prefix}/detail`, data }),
};
